
#host="zk23-03" devs="/dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj"

dev_conf_file="dev_list.conf"

cat $dev_conf_file | while read host devs
do
   for dev in $devs
   do
	dev1=`echo $dev | awk  -F ':'  '{print $1}'`
        journal=`echo $dev | awk  -F ':'  '{print $2}'`
        echo "$host $dev1 $journal"
	sh deploy-one-osd.sh $host $dev1 $journal
   done
done


